package com.yjd.comm.annotation;

import java.lang.annotation.*;

/**
 * 重写spring-redis 清除缓存注解
 * Created by yjd-wap on 2017/9/6.
 */

@Target({ ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface CacheEvict {

    String key() default "";// 缓存key
}
